vpmu: Use macros to access struct vpmu_struct.flags
authorDietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Thu, 9 Feb 2012 14:08:02 +0000 (06:08 -0800)
committerDietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Thu, 9 Feb 2012 14:08:02 +0000 (06:08 -0800)
commitf0d14d7fdbf4a9ea2d02989230d15577670092c7
tree546599f22acd7251f84988073063376628ccf029
parent5873f70310c716846dd017cd53d5ac2fa7e024e7
vpmu: Use macros to access struct vpmu_struct.flags

This patch introduces some macros realising the access to the item
'flags' in the struct vpmu_struct (see
xen/include/asm-x86/hvm/vpmu.h).  Only bits within 'flags' are
set/reset/checked.

Signed-off-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/svm/vpmu.c
xen/arch/x86/hvm/vmx/vpmu_core2.c
xen/arch/x86/hvm/vpmu.c
xen/arch/x86/oprofile/nmi_int.c
xen/arch/x86/oprofile/op_model_ppro.c
xen/include/asm-x86/hvm/vpmu.h